<?php
/**
 * Created by PhpStorm.
 * User: august
 * Date: 2021/5/19
 * Time: 10:40
 */

namespace DesignPatterns\Structure\Bridge;

/**
 * 形状抽象类
 * Class Graph
 * @package DesignPatterns\Structure\Bridge
 */
abstract class Graph
{
    protected $color;

    public function __construct(Color $color)
    {
        $this->color = $color;
    }

    abstract public function draw();
}